﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Entities;
using BUS;
using Utility;

public partial class Administrator_httt_add : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void bt_them_Click(object sender, EventArgs e)
    {

        try
        {
            Tbl_HTTT_Entities httt = new Tbl_HTTT_Entities();
            httt.MaHTTT = txt_mahttt.Text;
            httt.TenHTTT = txt_tenhttt.Text;

            Tbl_HTTT_BUS.Insert(httt);
            Response.Redirect("~/Administrator/httt_ds.aspx");

        }
        catch
        {

        }
        
    }
}
